diff --git a/WORKSPACE b/WORKSPACE
index 24482296..a0b2342e 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -13,6 +13,7 @@ workspace(name = "tf_serving")
 # 3. Request the new archive to be mirrored on mirror.bazel.build for more
 #    reliable downloads.
 load("//tensorflow_serving:repo.bzl", "tensorflow_http_archive")
+load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
 tensorflow_http_archive(
     name = "org_tensorflow",
     sha256 = "bc4e9bbeb0136163f283ab8b695bec747cad738963e153ce3b7e414ebffe408f",
@@ -52,3 +53,8 @@ load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_
 rules_proto_dependencies()
 rules_proto_toolchains()
 
+git_repository(
+    name = "cnpy",
+    commit = "57184ee0db37cac383fc29175950747a46a8b512",
+    remote = "https://github.com/sammymax/cnpy.git",
+)
diff --git a/tensorflow_serving/model_servers/BUILD b/tensorflow_serving/model_servers/BUILD
index e9e9c590..240500b0 100644
--- a/tensorflow_serving/model_servers/BUILD
+++ b/tensorflow_serving/model_servers/BUILD
@@ -351,6 +351,7 @@ SUPPORTED_TENSORFLOW_OPS = if_v2([]) + if_not_v2([
     "@org_tensorflow//tensorflow/contrib:contrib_ops_op_lib",
 ]) + [
     "@org_tensorflow_text//tensorflow_text:ops_lib",
+    "@com_google_scann//scann/scann_ops/cc:scann_ops_static",
     # Support for TensorFlow Decision Forests inference ops.
     # [September 2022] This dependency adds 3 MB to the model server (352 MB -> 355 MB i.e. +0.8%).
     "@org_tensorflow_decision_forests//tensorflow_decision_forests/tensorflow/ops/inference:kernel_and_op",
diff --git a/tensorflow_serving/workspace.bzl b/tensorflow_serving/workspace.bzl
index cc93fe81..30b5863c 100644
--- a/tensorflow_serving/workspace.bzl
+++ b/tensorflow_serving/workspace.bzl
@@ -80,3 +80,11 @@ def tf_serving_workspace():
             "https://github.com/google/glog/archive/028d37889a1e80e8a07da1b8945ac706259e5fd8.tar.gz",
         ],
     )
+
+    http_archive(
+        name = "com_google_scann",
+        strip_prefix = "google-research-d170ac58ce1d071614b2813b056afa292f5e490c/scann",
+        url = "https://github.com/google-research/google-research/archive/d170ac58ce1d071614b2813b056afa292f5e490c.zip",
+        patches = ["@//third_party/scann:tf_serving.patch"],
+        patch_args = ["-p1"],
+    )
